<?php
/**
 * Created by IntelliJ IDEA.
 * User: dhy
 * Date: 2015/9/11
 * Time: 22:10
 */

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class ArticlesTableSeeder extends Seeder{
    public function run(){
        DB::table('articles')->insert(
            array(
                'title' => 'article',
                'content' => 'article_content',

            )
        );

        DB::table('articles')->insert(
            array(
                'title'=>'article2',
                'content'=>'article_content2'
            )
        );
    }
}